package com.emergency.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.emergency.data.entity.RescueTeam;
import com.emergency.data.vo.RescueTeamCountVO;
import com.emergency.data.vo.RescueTeamDetailsVO;
import com.emergency.data.vo.RescueTeamVO;

import java.util.List;

/**
 * (RescueTeam)救援队伍服务
 *
 * @author makejava
 * @since 2020-09-21
 */
public interface RescueTeamService extends IService<RescueTeam> {

    /**
     * 救援队伍列表
     *
     * @param streetId 街道ID
     * @param id 队伍类型ID
     * @param teamName 队伍名称
     * @return Wrapper
     */
    List<RescueTeamVO> getRescueTeamList(Long streetId, Long id, String teamName);

    /**
     * 救援队伍统计
     *
     * @return List
     */
    List<RescueTeamCountVO> rescueTeamStatistics();

    /**
     * 救援队伍详情
     *
     * @param id 队伍ID
     * @return RescueTeamDetailsVO
     */
    RescueTeamDetailsVO getRescueTeamDetail(Long id);
}
